import request from '@/utils/request'

export function getalarmconfig (params) {
  return request({
    url: '/back/alarm-config/getById',
    method: 'post',
    data: params
  })
}

export function updatealarmconfig (params) {
  return request({
    url: '/back/alarm-config/saveOrUpdate',
    method: 'post',
    data: params
  })
}